package C05;

public class Circle {
    private double r;

    public void setR(double r) {
        System.out.println(r);
        this.r = r;
    }

    public double fa() {
        double s = 3.14 * r * r;
        return s;

    }
}
